package org.jeecg.modules.vegetable.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: vegetable_types
 * @Author: jeecg-boot
 * @Date:   2022-01-18
 * @Version: V1.0
 */
@Data
@TableName("vegetable_types")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="vegetable_types对象", description="vegetable_types")
public class VegetableTypes implements Serializable {
    private static final long serialVersionUID = 1L;

	/**基地名称*/
	@Excel(name = "图片地址", width = 15)
    @ApiModelProperty(value = "图片地址")
    private String picUrl;
	/**基地地址*/
	@Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private String productName;
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**所属基地ID*/
	@Excel(name = "所属基地ID", width = 15)
    @ApiModelProperty(value = "所属基地ID")
    @Dict(dictTable = "vegetable_base",dicText = "base_name",dicCode = "id")
    private String baseId;
	/**产品描述*/
	@Excel(name = "产品描述", width = 15)
    @ApiModelProperty(value = "产品描述")
    private String productComments;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**别名*/
	@Excel(name = "别名", width = 15)
    @ApiModelProperty(value = "别名")
    private String aliasName;
	/**作用*/
	@Excel(name = "作用", width = 15)
    @ApiModelProperty(value = "作用")
    private String effect;
	/**分布区域*/
	@Excel(name = "分布区域", width = 15)
    @ApiModelProperty(value = "分布区域")
    private String regionalDistribution;
	/**性状*/
	@Excel(name = "性状", width = 15)
    @ApiModelProperty(value = "性状")
    private String appearance;
}
